# 1.先安装一个  科学计算的框架
# import numpy as np
#a=np.array([[1,2,3,4,5],[1,2,3,4,5],[1,2,3,4,5]])
#b=np.array([1,2,3,4,5])
#求点乘
#print(a.dot(b))
#print(a)
# 奇异矩阵 print(np.linalg.inv(a))
# 排除掉奇异矩阵求幂
#print(np.linalg.pinv(a))
import numpy as np
a=np.array([[3,2,3],[3,2,3],[3,2,3]])
b=np.array([1,2,3])


print(a.T)
print(a.dot(b))
print(np.linalg.pinv(a))